package com.agile.major.service;

import com.agile.major.domain.FreshGraduateEmployment;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;
import java.util.Map;

/**
 * Service Interface for managing FreshGraduateEmployment.
 */
public interface FreshGraduateEmploymentService {

    /**
     * Save a freshGraduateEmployment.
     *
     * @param freshGraduateEmployment the entity to save
     * @return the persisted entity
     */
    FreshGraduateEmployment save(FreshGraduateEmployment freshGraduateEmployment);

    /**
     *  Get all the freshGraduateEmployments.
     *
     *  @param pageable the pagination information
     *  @return the list of entities
     */
    Page<FreshGraduateEmployment> findAll(Pageable pageable);

    /**
     *  Get the "id" freshGraduateEmployment.
     *
     *  @param id the id of the entity
     *  @return the entity
     */
    FreshGraduateEmployment findOne(Long id);

    /**
     *  Delete the "id" freshGraduateEmployment.
     *
     *  @param id the id of the entity
     */
    void delete(Long id);

    List<FreshGraduateEmployment> getFreshGraduateList(Long baseMajorId, String year);
    Map getGraduateStuCount(Long baseMajorId, String year);
}
